<template>
  <div class="login-title"><h1>登录</h1></div>
  <div class="choice">
    <div class="user-choice"><router-link to="/login/customer" >顾客</router-link></div>
    <div class="user-choice"><router-link to="/login/merchant">商家</router-link></div>
  </div>
  <router-view></router-view>
</template>

<script>
export default {
  name: 'MyLogin',

}
</script>

<style lang="less" scoped>
.login-title {
  width: 300px;
  height: 100px;
  margin: 0 auto;
  text-align: center;
  line-height: 100px;
  box-sizing: border-box;
  padding: 40px;


}
.choice {
  margin: 0 auto;
  width: 100px;
  height: 40px;

}

.user-choice {
  width: 40px;
  height: 20px;
  display: inline-block;
}
</style>
